package AST;

public class Parameters {
	private VarArgsList varArgsList;

	public Parameters(VarArgsList varArgsList) {
		print();
		this.varArgsList = varArgsList;
	}

	public Parameters() {
		print();
	}

	public VarArgsList getVarArgsList() {
		return varArgsList;
	}

	public void setVarArgsList(VarArgsList varArgsList) {
		this.varArgsList = varArgsList;
	}

	public void print() {
		System.out.println("Parameters");
	}

	public void genC(PW pw) {
		pw.print("( ");
		if (varArgsList != null)
			varArgsList.genC(pw);
		pw.print(" )");

	}

}
